package com.example.springboot_druid_mybatis_jta.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : wise_wang
 * 2021.12.05
 * 实例类Programer
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Programmer {

    // 成员变量
    private int id;

    private String name;

    private int age;

    private float salary;

    private Date birthday;

     // 构造方法
    public Programmer(String name, int age, float salary, Date birthday) {
        this.name = name;
        this.age = age;
        this.salary = salary;
        this.birthday = birthday;
    }

}
